<?php


/**
 * Description of Assets
 *
 * @author Francis Adu-Gyamfi
 */
class CMS extends Helper {
    
    protected $helpers = array('HTML');
    
    protected function baseURL() {
        return (SITE_ROOT . "cms/");
    }
    
    protected function basePath() {
        return (BASE_PATH . 'cms/');
    }

    public function script($path) {
        return $this->HTML->renderScript( $this->baseURL() . "scripts/", $path);
    }
    
    public function image($url, $options = NULL) {
        return $this->HTML->renderImage( $this->baseURL() . 'images/', $url, $options);
    }
	
	public function css($url, $options = NULL) {
        return $this->HTML->renderCSS( $this->baseURL() . 'css/', $url, $options);
    }
}

?>
